package ExamLab.Test3;

public class XOuter{

    static{
         st="Net";
    }

    static String st;

    class XInner{

         public final static int x=78;
         volatile String y;

         public XInner(int val){
              if (val>10)
                   return;
              y=st;
              System.out.println(y);
              throw new IllegalArgumentException();
         }

    }

    public static void main(String args[]){
         new XOuter().new XInner(5);
    }

}